<div class="order-list">
    <div class="search-inp clearfix">
        <select ng-options="name.institution_name for name in institutionNames" ng-model="institutionName"
                ng-change="getOrderListByInstitutionId()"></select>
        <span>共{{totalOrder.orderCount}}单，合计订单金额：￥{{totalOrder.orderPrice}}</span>
    </div>
    <table class="list-table text-c table table-striped">
        <thead class="bg-green font-white">
        <tr>
            <th>订单平台</th>
            <th>订单编号</th>
            <th>下单时间</th>
            <th>订单金额</th>
            <th>订单状态</th>
            <th>支付方式</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="item in orderList">
            <td>好下单</td>
            <td ng-bind="item.order_id"></td>
            <td ng-bind="item.addTime"></td>
            <td ng-bind="'￥' + (item.totalPrice || 0)"></td>
            <td ng-bind="item.order_status | orderStatus"></td>
            <td ng-bind="item.payType | payType"></td>
        </tr>
        <!-- 暂无数据-->
        <tr ng-if="!orderList || orderList.length == 0">
            <td colspan="6">暂无数据</td>
        </tr>
        </tbody>
    </table>
    <!--分页组件-->
    <app-page ng-if="totalPage > 1" current="currentPage" totals="totalPage" fn="changePage"></app-page>
</div>